package cn.gz.ibix.ibix_library.bean;

import java.util.Date;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 项目名称：android_tool
 * <br>类描述：
 * <br>创建人：htliu
 * <br>创建时间：2018/8/31 14:45
 * <br>修改人:
 * <br>修改时间：2018/8/31 14:45
 * <br>修改备注：
 * <br>@version
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(of = "id", callSuper = false)
public class BaseEntity {
    private Long id;

    public <T> T setId(Long id) {
        this.id = id;
        return (T) this;
    }
}
